package com.tongji.seller.events
{
	import flash.events.Event;
	
	/**
	 * 
	 * @author jiarong
	 * 2011-12-14
	 *
	 */
	
	public class GetStoreFavoriteStateEvent extends Event
	{
		public static const GET_STORE_FAVORITE_STATE:String = "getStoreFavoriteState";
		public static const UPDATE_STORE_FAVORITE_STATE:String = "updateStoreFavoriteState";
		
		public var userId:Number;
		public var currentPage:int;
		public var pageSize:int;
		public var scene:String;
		
		/**
		 * 获取店铺用户收藏的的场景信息带保存状态
		 * @param type
		 * @param userId
		 * @param currentPage
		 * @param pageSize
		 * @param scene
		 * 
		 */		
		public function GetStoreFavoriteStateEvent(type:String, userId:Number, currentPage:int, pageSize:int = 18, scene:String = null)
		{
			super(type);
			
			this.userId = userId;
			this.currentPage = currentPage;
			this.pageSize = pageSize;
			this.scene = scene;
		}
		
		override public function clone():Event
		{
			return new GetStoreFavoriteStateEvent(type, userId, currentPage, pageSize, scene);
		}
	}
}